package org.dtrd.modules.archive.mapper;

import java.util.Set;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.dtrd.modules.archive.entity.po.DtrdEntRdArchiveBasicFamily;

import org.dtrd.modules.ocr.service.IDtrdEntRdOcrMappingService;
import org.springframework.stereotype.Repository;

@Repository
public interface DtrdEntRdArchiveBasicFamilyMapper extends BaseMapper<DtrdEntRdArchiveBasicFamily> {

    /**
     * 通过 patientId 逻辑删除记录
     */
    void deleteByPatientIds(@Param("patientIds") Set<Integer> patientId);

    void updateDataByOcr(@Param("patientId") Integer patientId, @Param("tableField") String field, @Param("dataValue") String value);
}